﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020008ED RID: 2285
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class HeliobusLineupUpdateScNotify : IMessage<HeliobusLineupUpdateScNotify>, IMessage, IEquatable<HeliobusLineupUpdateScNotify>, IDeepCloneable<HeliobusLineupUpdateScNotify>, IBufferMessage
	{
		// Token: 0x17001CEA RID: 7402
		// (get) Token: 0x06006667 RID: 26215 RVA: 0x0011320B File Offset: 0x0011140B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<HeliobusLineupUpdateScNotify> Parser
		{
			get
			{
				return HeliobusLineupUpdateScNotify._parser;
			}
		}

		// Token: 0x17001CEB RID: 7403
		// (get) Token: 0x06006668 RID: 26216 RVA: 0x00113212 File Offset: 0x00111412
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return HeliobusLineupUpdateScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001CEC RID: 7404
		// (get) Token: 0x06006669 RID: 26217 RVA: 0x00113224 File Offset: 0x00111424
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return HeliobusLineupUpdateScNotify.Descriptor;
			}
		}

		// Token: 0x0600666A RID: 26218 RVA: 0x0011322B File Offset: 0x0011142B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeliobusLineupUpdateScNotify()
		{
		}

		// Token: 0x0600666B RID: 26219 RVA: 0x00113233 File Offset: 0x00111433
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeliobusLineupUpdateScNotify(HeliobusLineupUpdateScNotify other) : this()
		{
			this.lineup_ = ((other.lineup_ != null) ? other.lineup_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600666C RID: 26220 RVA: 0x00113268 File Offset: 0x00111468
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeliobusLineupUpdateScNotify Clone()
		{
			return new HeliobusLineupUpdateScNotify(this);
		}

		// Token: 0x17001CED RID: 7405
		// (get) Token: 0x0600666D RID: 26221 RVA: 0x00113270 File Offset: 0x00111470
		// (set) Token: 0x0600666E RID: 26222 RVA: 0x00113278 File Offset: 0x00111478
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public HeliobusChallengeLineup Lineup
		{
			get
			{
				return this.lineup_;
			}
			set
			{
				this.lineup_ = value;
			}
		}

		// Token: 0x0600666F RID: 26223 RVA: 0x00113281 File Offset: 0x00111481
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as HeliobusLineupUpdateScNotify);
		}

		// Token: 0x06006670 RID: 26224 RVA: 0x0011328F File Offset: 0x0011148F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(HeliobusLineupUpdateScNotify other)
		{
			return other != null && (other == this || (object.Equals(this.Lineup, other.Lineup) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006671 RID: 26225 RVA: 0x001132C4 File Offset: 0x001114C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.lineup_ != null)
			{
				num ^= this.Lineup.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006672 RID: 26226 RVA: 0x00113300 File Offset: 0x00111500
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006673 RID: 26227 RVA: 0x00113308 File Offset: 0x00111508
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006674 RID: 26228 RVA: 0x00113311 File Offset: 0x00111511
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.lineup_ != null)
			{
				output.WriteRawTag(34);
				output.WriteMessage(this.Lineup);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006675 RID: 26229 RVA: 0x00113344 File Offset: 0x00111544
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.lineup_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Lineup);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006676 RID: 26230 RVA: 0x00113384 File Offset: 0x00111584
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(HeliobusLineupUpdateScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.lineup_ != null)
			{
				if (this.lineup_ == null)
				{
					this.Lineup = new HeliobusChallengeLineup();
				}
				this.Lineup.MergeFrom(other.Lineup);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006677 RID: 26231 RVA: 0x001133D8 File Offset: 0x001115D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006678 RID: 26232 RVA: 0x001133E4 File Offset: 0x001115E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 34U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.lineup_ == null)
					{
						this.Lineup = new HeliobusChallengeLineup();
					}
					input.ReadMessage(this.Lineup);
				}
			}
		}

		// Token: 0x0400272F RID: 10031
		private static readonly MessageParser<HeliobusLineupUpdateScNotify> _parser = new MessageParser<HeliobusLineupUpdateScNotify>(() => new HeliobusLineupUpdateScNotify());

		// Token: 0x04002730 RID: 10032
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002731 RID: 10033
		public const int LineupFieldNumber = 4;

		// Token: 0x04002732 RID: 10034
		private HeliobusChallengeLineup lineup_;
	}
}
